<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core">


    <h:form>

        <p:outputPanel id="menuPanel" layout="block">

            <p:panelMenu style="width:340px">

                <p:submenu label="Administrar Persona" >
                    <p:menuitem value="Crear" url="ui/persona/crear_persona.xhtml" icon="ui-icon-home" />
                    <p:menuitem value="Consultar" url="ui/persona/consultar_persona.xhtml" icon="ui-icon-document" />
                    <p:menuitem value="CrearControl" url="ui/persona/crear_control.xhtml" icon="ui-icon-arrowthick-1-s" />
                    <p:menuitem value="Borrar" url="http://www.primefaces.org/support" icon="ui-icon-wrench" />
                </p:submenu>

                <p:submenu label="Agenda" >
                    <p:menuitem value="Citas pendientes" url="http://www.primefaces.org" icon="ui-icon-home" />
                </p:submenu>

                <p:submenu label="Reportes" >
                    <p:menuitem value="Super Salud" url="http://www.primefaces.org" icon="ui-icon-home" />
                </p:submenu>

            </p:panelMenu>
        </p:outputPanel>

    </h:form>
</ui:composition>